import unittest,time
from selenium import webdriver
from selenium.webdriver.support.select import Select
from selenium.webdriver.common.by import By
from Page import Page
from Tools import Tools
from ddt import file_data,ddt

class Jiu(unittest.TestCase):
    def setUp(self):
        Tools().Log()
        self.driver = webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self):
        time.sleep(2)
        self.driver.quit()

    def test_Jiuxian_01_login(self):
        po = Page(self.driver)
        po.luoji_Jiuxian_login()

    def test_Jiuxian_02_search(self):
        po = Page(self.driver)
        po.luoji_Jiuxian_search()

    def test_Jiuxian_03_address(self):
        po = Page(self.driver)
        po.luoji_Jiuxian_address()


if __name__ == '__main__':
    unittest.main()